<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>系统后台-新闻信息管理系统</title>
  <link rel="stylesheet" href="view/assets/css/bootstrap.min.css">
  <script src="view/assets/js/html5shiv.min.js"></script>
  <script src="view/assets/js/respond.min.js"></script>
</head>
<style>
  *{
    margin: 0;
    padding: 0;
  }
</style>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" style="margin: auto;" href="index.php">新闻信息管理系统</a>
      <a class="navbar-brand" style="margin: auto; font-size: 15px;" href="admin.php">首页</a>
      <a class="navbar-brand" style="margin: auto; font-size: 15px;" href="artlist.php">文章管理</a>
      <a class="navbar-brand" style="margin: auto; font-size: 15px;" href="catlist.php">分类管理</a>
      <a class="navbar-brand" style="margin: auto;font-size: 15px;" href="commlist.php">评论管理</a>
      <a class="navbar-brand" style="margin: auto; font-size: 15px;" href="role.php">权限管理</a>
      <a class="navbar-brand" style="margin: auto;font-size: 15px;" href="about.php">关于</a>
    </div>
    <!--跳转后台登录按钮-->
    <div id="navbar" class="navbar-collapse collapse">
      <form class="navbar-form navbar-right">
        <a type="button" class="btn btn-success" href="logout.php">退出</a>
      </form>
    </div>
  </div>
</nav>
<div class="container" style="margin-top: 20px;">
  <div class="page-header">
    <h1>您已经成功登录 <small>新闻管理信息系统</small></h1>
  </div>
  <div class="alert alert-success text-center" role="alert">
    欢迎您！<?php echo $username?> <span class="label label-primary"><?php echo $userinfo['role_name'];?></span>
  </div>
  <div class="panel panel-default">
    <div class="panel-heading">
      <h3 class="panel-title text-center">可以做些什么？</h3>
    </div>
    <div class="panel-body text-center" style="height: 300px;">
      <article style="font-size: 20px;">
        在这里，我们可以发布新的新闻 <br>
        在这里，我们可以对发布的新闻进行<b style="color:cornflowerblue;">编辑</b>操作 <br>
        在这里，我们可以<b style="color:cornflowerblue;">删除</b>已经发布的新闻 <br>
        在这里，你可以查找到你想<b style="color:cornflowerblue;">查找</b>的新闻 <br>
        从导航栏开始您的操作吧！
      </article>
    </div>
  </div>
</div>
<div class="jumbotron text-center" style="margin-bottom:0">
  <p>Copyright © 2020-2021 用于数据库实践</p>
</div>
<script src="view/assets/js/jquery.min.js"></script>
<script src="view/assets/js/bootstrap.min.js"></script>
</body>
</html>
